/***********************************************
* Global
***********************************************/
a,
a:hover,
a:focus {
    color: #03a9f4;
}

@media (min-width: 1200px) {
    .container {
        width: 1040px;
    }
}

/***********************************************
* Icons
***********************************************/
.material-icons.md-18 {
    font-size: 18px;
}

.material-icons.md-24 {
    font-size: 24px;
}

.material-icons.md-36 {
    font-size: 36px;
}

.material-icons.md-48 {
    font-size: 48px;
}

/***********************************************
* Page header
***********************************************/
.page-header {
    margin: 0 0 40px;
}

.page-header h2 {
    margin: 0;
}

/***********************************************
* Main
***********************************************/
.blog-main {
    font-size: 14px;
    line-height: 1.5;
}

.blog-content {
    padding-top: 300px;
}

/***********************************************
* Sidebar
***********************************************/
.sidebar-module:first-child {
    margin-top: 0;
}

.sidebar-module {
    margin: 30px auto;
}

.sidebar-module h4 {
    margin-bottom: 22px;
}

.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
    margin-bottom: 0;
}

.sidebar-module .categories li {
    margin: 12px auto;
}

/***********************************************
* Paginations
***********************************************/
.pager {
    margin-bottom: 60px;
    text-align: left;
}

.pager > li > a {
    width: 140px;
    padding: 10px 20px;
    text-align: center;
    border-radius: 30px;
}

/***********************************************
* Posts
***********************************************/
.blog-post {
    margin-bottom: 30px;
}

.blog-post a {
    text-decoration: none;
}

.blog-comments-title,
.blog-post-title {
    margin-bottom: 5px;
    font-size: 24px;
    font-weight: 400;
    color: #333;
}

.blog-post-meta {
    padding: 16px 22px;
    color: #999;
    display: block;
    border-bottom: 1px solid #EDEDED;
}

.blog-post-date {
    margin: 6px auto;
}

.blog-post-share {
    margin: 10px auto;
}

.blog-post-content {
    padding: 16px 22px;
}

.blog-post-content p {
    color: #999;
    margin: 18px auto;
}

.blog-post-content .btn {
    padding-left: 6px;
    padding-right: 6px;
}

.blog-post p {
    font-size: 13px;
    font-weight: 400;
}

.blog-post .panel-body {
    padding: 0;
}

.blog-post .panel > img {
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

.blog-comments .panel,
.blog-post .panel {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.blog-comments:hover .panel,
.blog-post:hover .panel {
    -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

/***********************************************
* Footer
***********************************************/
.blog-footer {
    padding: 40px 0;
    background-color: #f9f9f9;
    border-top: 1px solid #e5e5e5;
}

.blog-footer p:last-child {
    margin-bottom: 0;
}

.blog-footer a {
    color: #7F7F7F;
    text-decoration: none;
}

.blog-footer a:hover,
.blog-footer a:focus,
.blog-footer a:active {
    color: #000;
}

.blog-footer .brand {
    color: #7F7F7F;
    margin-bottom: 10px;
}

.blog-footer .offset {
    margin: 4px auto;
}

/***********************************************
* Navbar
***********************************************/
.navbar {
    z-index: 999;
}

.navbar .navbar-wrapper {
    padding-top: 180px;
}

.navbar-image {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 240px;
    z-index: 0;
    background-repeat: no-repeat;
    background-position: center 65%;
    background-attachment: scroll;
    -webkit-background-size: cover;
    background-size: cover;

}

.navbar-absolute-top {
    width: 100%;
    position: absolute;
}

.navbar .navbar-nav > .active > a,
.navbar .navbar-nav > .active > a:focus,
.navbar .navbar-nav > .active > a:hover {
    background-color: transparent;
    font-weight: 500;
}

@media (min-width: 768px) {
    .navbar-absolute-top .navbar-right {
        margin-right: -30px;
    }

    .navbar-overlay.navbar-absolute-top .navbar-nav > li {
        background: rgba(0, 0, 0, 0.3);
        -webkit-transition: all 0.1s ease;
        transition: all 0.1s ease;
    }

    .navbar-overlay.navbar-fixed-top li {
        background: rgba(0, 0, 0, 0);
        -webkit-transition: all 0.1s ease;
        transition: all 0.1s ease;
    }
}

/***********************************************
* Labels
***********************************************/
.label-light {
    color: #333333;
}

.label-light,
.label-light.label-default {
    background-color: #EBEBEB;
}

.label-light.label-inverse {
    background-color: #D9DCF0;
}

.label-light.label-primary {
    background-color: #CDEAE7;
}

.label-light.label-success {
    background-color: #DBEFDC;
}

.label-light.label-info {
    background-color: #CDEEFC;
}

.label-light.label-warning {
    background-color: #FFDED3;
}

.label-light.label-danger {
    background-color: #FCDAD7;
}

/***********************************************
* Scroll-to-top colors
***********************************************/
.material-scrolltop.default,
.material-scrolltop.default:hover {
    background: #9e9e9e;
}

.material-scrolltop.default::before {
    background: #757575;
}

.material-scrolltop.inverse,
.material-scrolltop.inverse:hover {
    background: #3f51b5;
}

.material-scrolltop.inverse::before {
    background: #3949AB;
}

.material-scrolltop.primary,
.material-scrolltop.primary:hover {
    background: #009688;
}

.material-scrolltop.primary::before {
    background: #00897B;
}

.material-scrolltop.success,
.material-scrolltop.success:hover {
    background: #4caf50;
}

.material-scrolltop.success::before {
    background: #43A047;
}

.material-scrolltop.info,
.material-scrolltop.info:hover {
    background: #03a9f4;
}

.material-scrolltop.info::before {
    background: #039BE5;
}

.material-scrolltop.warning,
.material-scrolltop.warning:hover {
    background: #ff5722;
}

.material-scrolltop.warning::before {
    background: #F4511E;
}

.material-scrolltop.danger,
.material-scrolltop.danger:hover {
    background: #f44336;
}

.material-scrolltop.danger::before {
    background: #E53935;
}

/***********************************************
* Google Maps
***********************************************/
#map {
    width: 100%;
    height: 400px;
}

/***********************************************
* Landing
***********************************************/
#landing-header {
    margin: 50px auto;
}

#landing-header h1 {
    font-size: 40px;
}

#landing-header i {
    color: #7F7F7F;
    font-size: 50px;
}

#landing-styles {
    padding: 26px 0 32px;
    background: #F9F9F9;
}

#landing-styles .style {
    margin: 20px auto;
}

#landing-footer {
    margin: 50px auto;
}

.macbook {
    display: block;
}

.macbook .inner .demo {
    display: block;
    height: 340px;
    background-size: 100% auto;
    background-position: 0 0;
}

@media (max-width: 767px) {
    .macbook .inner .demo {
        border-radius: 2px;
        border: 0;
        -webkit-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
        box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
    }
}

@media (min-width: 768px) {
    #landing-header h1 {
        font-size: 50px;
    }

    .macbook {
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: scroll;
        -webkit-background-size: cover;
        background-size: cover;
        background-image: url('../img/landing/macbook.png');
        overflow: hidden;

        padding: 9px 38px 9px 40px;
        height: 190px;
    }

    .macbook .inner {
        height: 163px;
        overflow: hidden;
    }

    .macbook .inner .demo {
        height: 100%;
        overflow: hidden;
        transition: all 2.4s ease 0s;
    }

    .macbook .inner .demo:hover {
        background-position: 0 100%;
    }
}

@media (min-width: 992px) {
    .macbook .inner {
        height: 220px;
    }

    .macbook {
        padding: 11px 49px 11px 51px;
        height: 255px;
    }
}

@media (min-width: 1200px) {
    .macbook .inner {
        height: 241px;
    }

    .macbook {
        padding: 10px 54px 10px 57px;
        height: 274px;
    }
}

/*返回顶部*/

.material-scrolltop {
    display: block;
    position: fixed;
    width: 0;
    height: 0;
    bottom: 23px;
    right: 23px;
    padding: 0;
    overflow: hidden;
    outline: none;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    border-radius: 50%;
    background: #009688;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    transition: all 0.3s cubic-bezier(0.25, 0.25, 0, 1);
}

.material-scrolltop .material-icons {
    font-size: 38px;
    color: #fff;
}

.material-scrolltop:hover {
    background-color: #009688;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5), 0 3px 15px rgba(0, 0, 0, 0.5);
}

.material-scrolltop::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: "";
    width: 0;
    border-radius: 100%;
    background: #00897B;
}

.material-scrolltop:active::before {
    width: 120%;
    padding-top: 120%;
    transition: all 0.2s ease-out;
}

.material-scrolltop.reveal {
    width: 56px;
    height: 56px;
}

.material-scrolltop span {
    display: block;
    font-size: 25px;
    color: #fff;
}